package com.itheima.common.test;

import com.aliyuncs.exceptions.ClientException;
import com.itheima.utils.SMSUtils;
import org.junit.Test;

public class SMSMain {

//    @Test
    public  void sendShortMessageTest(){
        try {
            //您的验证码为:${code},该验证码5分钟内有效，请勿泄露于他人。
            //您已经成功预约传智健康体检，体检时间为${code}
            SMSUtils.sendShortMessage(SMSUtils.ORDER_NOTICE,"13544222632","2020-04-19");
        } catch (ClientException e) {
            e.printStackTrace();
        }
    }
}
